﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LanDBom.Models.Procure
{
    public class Find_Nd
    {
        LDbaseEntities LD = new LDbaseEntities();
        public List<Ndardo> find_nda()
        {
            List<Ndardo> ndardos = LD.Ndardo.ToList();
            return ndardos;
        }

        public string fand_BB(string bian)
        {
            Applications Applications  = LD.Applications.Where(x => x.AP_bian == bian).FirstOrDefault();
            return Applications.App_BanB;
        }
    }
}